package com.jzr.bedside.presenter.contract

import android.content.Context
import com.jzr.bedside.base.BaseContract
import com.jzr.bedside.bean.BedInfoBean
import com.jzr.bedside.bean.TemperatureBean
import okhttp3.RequestBody

interface MainActivityContract {

    interface View : BaseContract.BaseView {
        fun getBedInfoSuccess(data: BedInfoBean?)
        fun getCallSuccess(data: TemperatureBean)
    }

    interface Presenter<T> :
        BaseContract.BasePresenter<T> {
        fun getBedInfo(vararg query: String?)
        fun getCall(context: Context,body: RequestBody?)
    }

}